﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
using System.Data;
using System.Configuration;
using SvOtchet.DataModel.todb.OrganizationsTableAdapters;
using SvOtchet.DataModel.todb;
using SvOtchet.DataModel.sp.GetSubOrganizationWithEmptyReportTableAdapters;
using SvOtchet.DataModel.sp;

namespace SvOtchet.DataModel.code
{
    public class GetSubOrganizationWithEmptyReportBussClass
    {
        public GetSubOrganizationWithEmptyReportBussClass()
        { 
        }
        public DataTable SelectedDatesCollection(int? year, int? month, int? orgid)
        {
            GetSubOrganizationWithEmptyReportTableAdapter ad = new GetSubOrganizationWithEmptyReportTableAdapter();
            GetSubOrganizationWithEmptyReport.GetSubOrganizationWithEmptyReportDataTable tbl = ad.GetData(month, year, orgid);
            return tbl;
        }

    }
}